<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page isELIgnored="false"%>
<%
	String path = request.getContextPath();
	String webpath = path + "/qiantai";
%>

<!DOCTYPE html>
<HTML xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<script type='text/javascript' src='<%=webpath%>/js/jquery-1.11.3.min.js'>
</script>
 
  <link rel="stylesheet"  href="<%=webpath%>/css/footer.0.15.css" />

		<script type="text/javascript">
         function admin()
         {
            var url="<%=path%>/login.jsp";
            window.open(url,"_blank");
         }
         
 
 
	     
	     
	     function check()
		 {                                                                                         
		     if(document.ThisForm.userName.value=="")
			 {
			 	alert("请输入用户名");
				return false;
			 }
			 if(document.ThisForm.userPw.value=="")
			 {
			 	alert("请输入密码");
				return false;
			 }
			 document.getElementById("indicator").style.display="block";
			 loginService.login(document.ThisForm.userName.value,document.ThisForm.userPw.value,1,callback);
		 }
		
		 function callback(data)
		 {
		    document.getElementById("indicator").style.display="none";
		    if(data=="no")
		    {
		        alert("用户名或密码错误");
		    }
		    if(data=="yes")
		    {   
		        alert("登陆成功");
		        var url="<%=path%>/qiantai/default.jsp";
		        window.location.href=url;
		    }
		 }
		 
		 function searcht(){
		    document.forms.formsearch.submit();
		 }
		 
		 function stype(id){
		     document.getElementById('types').value = id;
		     document.forms.formsearchtype.submit();
		 }
		 
		  function snl(id){
		     document.getElementById('nl').value = id;
		     document.forms.formsearchtype.submit();
		 }
		 
		    function auser()
         {
            var url="<%=path%>/auser/index.jsp";
            window.open(url,"_blank");
         }
         
    </script>

	</head>

	 <body style="zoom: 1;"> 
  <div class="wrap"> 
      <jsp:include flush="true" page="/qiantai/common/incTop.jsp"></jsp:include>
     
   <div class="all-pro-wrap box-center cf"> 
 
    <div class="main-content-wrap fl" > 
      
     <div class="all-book-list inner-wrap"> 
      <div class="right-book-list"> 
       <ul> 
       
         <c:forEach items="${requestScope.zuopinList}" var="zuopin" begin="0" end="8">
        <li> 
         <div class="book-img"> 
          <a href="<%=path%>/zuopinDetailQian.action?id=${zuopin.id}" target="_blank" title="${zuopin.types}"> <img src="<%=path%>/${zuopin.fujian}" alt="${zuopin.types}" /> </a> 
         </div> 
         <div class="book-info"> 
          <h3><a href="<%=path%>/zuopinDetailQian.action?id=${zuopin.id}" target="_blank" title="${zuopin.types}">${zuopin.types}</a></h3> 
          <h4><a class="default">${zuopin.author}</a></h4> 
          <p class="tag"><span class="org">${zuopin.cname}</span> <span class="blue">${zuopin.likenum}赞</span></p> 
          <p class="intro"> ${zuopin.ms}</p> 
         </div> </li> 
         </c:forEach>
         
         
         
       </ul> 
      </div> 
 
     </div> 
    </div> 
   </div> 
     <div class="footer">
    <div class="box-center cf">
     <div class="copy-right">
      <p><span>Copyright &copy; 2021-2022 云梦公益读书网 All Rights Reserved</span>版权所有 云梦公益读书团队 <a target="_blank" href="<%=path%>/login.jsp">后台登录</a></p>
      <p>本站所收录作品、社区话题、书库评论及本站所做之广告均属个人行为，与本站立场无关     &nbsp;  &nbsp;   
         
      
      </p>
     </div>
    </div>
   </div>
     </div>
   
 </body>
</html>